***** Survey Parametric Model Analysis *****


*********************
***** Table A.1 *****
*********************

*** Table A.1 left-had panel (India) ***
ssc install asdoc 
cd "Your_Directory\JCR_Jooetal_replication"
use INDIA_SURVEY.dta


cd "Your_Directory\JCR_Jooetal_replication\Tables"
asdoc sum male age education married income authoritarianq26 superiorq29 trustothersq28 childq19 warq20 unq24 ideologyq13, save(TabA1_India) replace

clear 

*** Table A.1 right-hand panel (Japan) ***
cd "Your_Directory\JCR_Jooetal_replication"
use JAPAN_SURVEY.dta

cd "Your_Directory\JCR_Jooetal_replication\Tables"
asdoc sum  male age education married income authoritarianq26 superiorq29 trustothersq28 childq19 warq20 unq24 ideologyq13, save(TabA1_Japan) replace


clear

*********************
***** Table A.2 *****
*********************

*** Table A.2 left-hand panel  (India) ***

cd "Your_Directory\JCR_Jooetal_replication"

use INDIA_SURVEY

cd "Your_Directory\JCR_Jooetal_replication/Tables"
logit endorseforceq11 ib0.assig male age education married income authoritarianq26 superiorq29 trustothersq28 childq19 warq20 unq24 ideologyq13 , vce(robust) 
outreg2 using TabA2.doc, append dec(3) pdec(3) 

logit  endorseforceq11 ib0.assig male age education married income authoritarianq26 superiorq29 trustothersq28 childq19 warq20 unq24 ideologyq13 if rpartisan==1, vce(robust) 
outreg2 using TabA2.doc, append dec(3) pdec(3) 

clear 

*** Table A.2 right-hand panel (Japan) ***
cd "Your_Directory\JCR_Jooetal_replication"

use JAPAN_SURVEY

cd "Your_Directory\JCR_Jooetal_replication/Tables"
logit endorseforceq11 ib0.assig male age education married income authoritarianq26 superiorq29 trustothersq28 childq19 warq20 unq24 ideologyq13 , vce(robust) 
outreg2 using TabA2.doc, append dec(3) pdec(3) 


logit endorseforceq11 ib0.assig male age education married income authoritarianq26 superiorq29 trustothersq28 childq19 warq20 unq24 ideologyq13 if rpartisan==1 , vce(robust) 
 outreg2 using TabA2.doc, append dec(3) pdec(3) 


clear 

** End of Do-File